<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@ page import="banco.*" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

   <%
        ClienteFacade cliente = new ClienteFacade();
        
        String nome = request.getParameter("nome");
        int rg = Integer.parseInt(request.getParameter("rg"));
        int cpf = Integer.parseInt(request.getParameter("cpf"));
        
        cliente.insereCliente(nome,rg,cpf);
    %>
    

<meta http-equiv="refresh" content="0; url=./cadastroCliente.jsp">